<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<%@ include file="/WEB-INF/view/jsp/public/include.base.jsp" %>
<%--<div class="panel">
    <div class="panel-body">
        <div class="table-primary">
            <table id="tb_wawa_inventory"></table>
        </div>
    </div>
</div>--%>

<ul id="tabs-inventory" class="nav nav-tabs">
    <li class="active" id="inventory_list_btn">
        <a href="#inventory_list" data-toggle="tab" onclick="wawa_inventory.table.bootstrapTable('refresh')">库存列表</a>
    </li>
    <li>
        <a href="#inventory_record" data-toggle="tab" onclick="wawa_adjust.table.bootstrapTable('refresh')">调整记录</a>
    </li>
</ul>

<div class="tab-content tab-content-bordered">
    <div class="tab-pane fade in active" id="inventory_list">
        <div class="table-primary">
            <table id="tb_wawa_inventory"></table>
        </div>
    </div>
    <div class="tab-pane fade" id="inventory_record">
        <div class="table-primary">
            <table id="tb_wawa_adjust"></table>
        </div>
    </div>
</div>

<script type="text/javascript" src="${contextPath}/js/admin/wawa/inventory.v1.js?v=0.1"></script>
<script type="text/javascript" src="${contextPath}/js/admin/wawa/adjust.v1.js?v=0.11"></script>
<script tpye="text/javascript">
    wawa_inventory.init();
    wawa_adjust.init();
</script>
